<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,add')}
                        <a href="javascript:;" class="btn btn-danger btn-import" title="{:__('Import')}"
                           id="btn-import-file" data-url="category/import" data-mimetype="xls,xlsx"
                           data-multiple="false" initialized="true" style="position: relative; z-index: 1;"><i
                                class="fa fa-upload"></i> {:__('Import')}</a>
                        <!--<a href="user/member_list/add" class="btn btn-success btn-dialog" title="{:__('Add category')}"><i class="fa fa-plus"></i>{:__('Add category')}</a>-->
                        <!--<a href="user/send" class="btn btn-success btn-dialog" title="{:__('Add red envelope')}"><i class="fa fa-plus"></i>{:__('Generate wage')}</a>-->
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<div class="modal fade" id="uploadModal" tabindex="-1" role="dialog">
    <form name="upload_form" id="upload_form" enctype="multipart/form-data" class="form-horizontal">
        <div class="modal-dialog" role="document" style="width: 800px">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">上传Excel文件</h4>
                </div>
                <div class="modal-body" style="width: 800px">
                    <div class="form-group" style="height: 500px">
                        <label for="upload_file" class="col-sm-2 control-label">请选择要上传的Excel文件</label>
                        <div class="col-sm-10" style="height: 340px;">
                            <input id="upload_file" name="file" class="form-control" type="file">
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" id="upload_btn">上传</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
    </form>
    <!-- /.modal-dialog -->
</div>